package com.rockcent.mall.lib.dto;

import com.rockcent.common.domain.DtoEntity;

import java.math.BigDecimal;

/**
 * Created by DK on 16/10/18.
 */
public class MerchantGiftPacketProductDto extends DtoEntity {

    /** 产品ID */
    private Long productId;

    /** 礼包单价 */
    private BigDecimal packetPrice;

    /** 使用数量 */
    private Long useNumber;

    /** 产品库存 */
    private Long quantity;

    /** 产品名称 */
    private String name;

    /** 产品所属商家名称 */
    private String merchantName;

    /** 产品售价 */
    private BigDecimal sellPrice;

    /** 产品佣金 */
    private BigDecimal resellFee;

    /** 商家id */
    private Long merchantId;

    /** 产品图片路径 */
    private String logoUrl;

    /** 分销产品唯一标志 */
    private Long marketId;

    /** 分销产品供应商唯一标志 */
    private Long marketMerchantId;

    public Long getProductId() {
        return productId;
    }

    public void setProductId(Long productId) {
        this.productId = productId;
    }

    public BigDecimal getPacketPrice() {
        return packetPrice;
    }

    public void setPacketPrice(BigDecimal packetPrice) {
        this.packetPrice = packetPrice;
    }

    public Long getUseNumber() {
        return useNumber;
    }

    public void setUseNumber(Long useNumber) {
        this.useNumber = useNumber;
    }

    public Long getQuantity() {
        return quantity;
    }

    public void setQuantity(Long quantity) {
        this.quantity = quantity;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getMerchantName() {
        return merchantName;
    }

    public void setMerchantName(String merchantName) {
        this.merchantName = merchantName;
    }

    public BigDecimal getSellPrice() {
        return sellPrice;
    }

    public void setSellPrice(BigDecimal sellPrice) {
        this.sellPrice = sellPrice;
    }

    public BigDecimal getResellFee() {
        return resellFee;
    }

    public void setResellFee(BigDecimal resellFee) {
        this.resellFee = resellFee;
    }

    public Long getMerchantId() {
        return merchantId;
    }

    public void setMerchantId(Long merchantId) {
        this.merchantId = merchantId;
    }

    public String getLogoUrl() {
        return logoUrl;
    }

    public void setLogoUrl(String logoUrl) {
        this.logoUrl = logoUrl;
    }

    public Long getMarketId() {
        return marketId;
    }

    public void setMarketId(Long marketId) {
        this.marketId = marketId;
    }

    public Long getMarketMerchantId() {
        return marketMerchantId;
    }

    public void setMarketMerchantId(Long marketMerchantId) {
        this.marketMerchantId = marketMerchantId;
    }

    @Override
    public String toString() {
        return "MerchantGiftPacketProductDto{" +
                "productId=" + productId +
                ", packetPrice=" + packetPrice +
                ", useNumber=" + useNumber +
                ", quantity=" + quantity +
                ", name='" + name + '\'' +
                ", merchantName='" + merchantName + '\'' +
                ", sellPrice=" + sellPrice +
                ", resellFee=" + resellFee +
                ", merchantId=" + merchantId +
                ", logoUrl='" + logoUrl + '\'' +
                ", marketId=" + marketId +
                ", marketMerchantId=" + marketMerchantId +
                '}';
    }
}
